projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c05fd52
)
Fix va_copy not being defined in MSVC 2010.
author
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 16 Sep 2015 05:32:13 +0000
(
00:32
-0500)
committer
Robert Lipe
<robertlipe@gpsbabel.org>
Wed, 16 Sep 2015 05:32:13 +0000
(
00:32
-0500)
gbfile.cc
patch
|
blob
|
history
util.cc
patch
|
blob
|
history
diff --git
a/gbfile.cc
b/gbfile.cc
index 22fc16b40ff7d081aa1f454fdc953c31b98ddc95..13f7019dbd88235ea5bb24b5e66cfd4f28f53446 100644
(file)
--- a/
gbfile.cc
+++ b/
gbfile.cc
@@
-25,6
+25,7
@@
#include "src/core/logging.h"
#include <assert.h>
+#include <stdarg.h> // for va_copy
#include <stdio.h>
#if __WIN32__
diff --git
a/util.cc
b/util.cc
index 4058eeff4147c680160f63e8e477ac0e762fc77a..fb561f57ec1b68ea5ec7c6fbe5386285155b0ed0 100644
(file)
--- a/
util.cc
+++ b/
util.cc
@@
-29,6
+29,7
@@
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h> // for va_copy
#include <time.h>
// First test Apple's clever macro that's really a runtime test so